package org.brisling.medical.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.brisling.base.domain.impl.BaseMonitorDomain;
import org.brisling.base.domain.inf.BaseDomainInf;
import org.brisling.common.ConstSysParam;

/**
 * 抗菌药物使用强度监控实体类
 * <p>Title: AntiDose</p>
 * <p>Description: </p>
 * <p>Company: tongking </p>
 * @author jackson wang
 * @since  1.0
 * @version 1.0
 * @date 2016年5月25日 下午5:23:20
 */

@Entity
@Table(name=ConstSysParam.MODULE_ANTI_DOSE)
public class AntiDose extends BaseMonitorDomain implements BaseDomainInf{

	@Id
	@Column
	@GeneratedValue(strategy=GenerationType.TABLE,generator="antiDoseGenerator")
	@TableGenerator(name="antiDoseGenerator",
					table="sysman_generation_key",
					pkColumnValue=ConstSysParam.MODULE_ANTI_DOSE,
					pkColumnName="primary_key",
					valueColumnName="key_value",
					allocationSize=1)
	private Long id;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	
	//患者数量
	private Long count_num;
	
	//总床日
	private Long day_num;
	
	//平均床日
	private Double day_avg;
	
	//抗菌药物使用强度
	private Double anti_ddd;
	
	private String zyhm;

	public String getZyhm() {
		return zyhm;
	}

	public void setZyhm(String zyhm) {
		this.zyhm = zyhm;
	}

	public Long getCount_num() {
		return count_num;
	}

	public void setCount_num(Long count_num) {
		this.count_num = count_num;
	}

	public Long getDay_num() {
		return day_num;
	}

	public void setDay_num(Long day_num) {
		this.day_num = day_num;
	}

	public Double getDay_avg() {
		return day_avg;
	}

	public void setDay_avg(Double day_avg) {
		this.day_avg = day_avg;
	}

	public Double getAnti_ddd() {
		return anti_ddd;
	}

	public void setAnti_ddd(Double anti_ddd) {
		this.anti_ddd = anti_ddd;
	}

	
	
}
